package com.hmdp.service;

import com.hmdp.dto.Result;
import com.hmdp.entity.Shop;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * @author jay
 */
public interface IShopService extends IService<Shop> {

    /**
     * 按id查询shop信息
     */
    Result queryById(Long id);

    /**
     * 更新
     */
    Result update(Shop shop);
    /**
     * 根据商铺类型分页查询商铺信息
     */
    Result queryShopByType(Integer typeId, Integer current, Double x, Double y);
}
